﻿using System;
using YinfangWeb.Common;

namespace YinfangWeb.Model
{
	/// <summary>
	/// ProductPromotionItem
	/// </summary>
    [Serializable]
	public class ProductPromotionItem
	{
		/// <summary>
		/// ProductPromotionItemID
        /// </summary>
        [FieldName("ProductPromotionItemID")]		
		public int ProductPromotionItemID
		{
			get;
			set;
		}
        
		/// <summary>
		/// ProductPromotionID
        /// </summary>
        [FieldName("ProductPromotionID")]		
		public int ProductPromotionID
		{
			get;
			set;
		}
        
		/// <summary>
		/// ProductDataID
        /// </summary>
        [FieldName("ProductDataID")]		
		public int ProductDataID
		{
			get;
			set;
		}
        
		/// <summary>
		/// ProductParamID
        /// </summary>
        [FieldName("ProductParamID")]		
		public int ProductParamID
		{
			get;
			set;
		}
        
		/// <summary>
		/// PricePromotion
        /// </summary>
        [FieldName("PricePromotion")]		
		public decimal PricePromotion
		{
			get;
			set;
		}
        
		/// <summary>
		/// RegDateTime
        /// </summary>
        [FieldName("RegDateTime")]		
		public DateTime RegDateTime
		{
			get;
			set;
		}
        
        public ProductPromotionItem Clone()
        {
            return (ProductPromotionItem)this.MemberwiseClone();
        }
        
        public ProductPromotionItem()
        {
            RegDateTime = ConvertHelper.DefaultDate;
        }
	}
}
